<template>
	<view>
		<web-view
			:src="type==1?'https://yyxieyi.weizi000.cn/upload/xiyiuser.html':'https://yyxieyi.weizi000.cn/upload/yinsiuser.html'"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				type: "1"
			}
		},
		onLoad(options) {
			this.type = options.type + ''
			if (this.type == '1') {
				uni.setNavigationBarTitle({
					title: '用户协议'
				})
			} else {
				uni.setNavigationBarTitle({
					title: '隐私协议'
				})
			}
		},
		methods: {

		}
	}
</script>

<style>

</style>